import React, { Component } from "react";
import { Route } from "react-router-dom";

import Home from "../Home/nav_top";
import Fund from "../Fund/Fund";
import Publish from "../Publish/Publish";
import Message from "../Message/Message";
import MessageAtme from "../Message/MessageDetails/AtMe/AtMe"
import MessageLikes from "../Message/MessageDetails/Likes/Likes"
import MessageFollows from "../Message/MessageDetails/Follows/Follows"
import MessageComments from "../Message/MessageDetails/Comments/Comments"
import MessageLetters from "../Message/MessageDetails/Letters/Letters"
import MeNotLogin from "../My/meNotLogin";
import MeAfterLogin from "../My/MyAfterLogin";
import Login from "../Login/Login";
import Xfooter from "../../components/Xfooter/Xfooter";
import Register from "../Register/register";
import PublishBlogWrapper from "../Publish/PublishBlog";
import PublishArticleWrapper from "../Publish/PublishArticle";
import PublishQuesWrapper from "../Publish/PublishQues";
import FundTheme from "../Fund/FundTheme"
import HelpCenter from "../My/HelpCenter"
import HelpCenterAccount from "../My/HelpCenterAccount"
import HelpCenterTrade from "../My/HelpCenterTrade"
import HelpCenterProfit from "../My/HelpCenterProfit"
import MyAsset from "../My/MyAsset"
import MyAssetDetail from "../My/MyAssetDetail"
import MyAssetRecord from "../My/MyAssetRecord"
import MySimulation from "../My/MySimulation"
import MySimulationDetail from "../My/MySimulationDetail"
import MySimulationRecord from "../My/MySimulationRecord"
import MyAccount from "../My/MyAccount"
import MyAccountPhonenumber from "../My/MyAccountPhonenumber"
import MyAccountPassword from "../My/MyAccountPassword"
import MyAccountPaypassword from "../My/MyAccountPaypassword"
import Remark from "../Home/lead_news/remark/remark";
import Fund_ranks from "../Fund/fund_ranks";
import Fund_school from "../Fund/fund_school";
import Fund_info from "../Fund/fund_info";
import Fund_buy from "../Fund/fund_buy";
import Fund_buy_pay from "../Fund/fund_buy_pay";
import Fund_buy_pass from "../Fund/fund_buy_pass";
import Fund_buy_result from "../Fund/fund_buy_result";
import Fund_simulation_buy from "../Fund/fund_simulation_buy";
import Fund_school_simulation_game from "../Fund/fund_school_simulation_game";
import Fund_school_return_challenge from "../Fund/fund_school_return_challenge";

export default class Terran extends Component {

    render() {
        return (
            <div>
                <Xfooter />
                <Route path='/' exact component={Home} />
                <Route path='/terran/home' component={Home} />
                <Route path='/terran/fund' component={Fund} />
                <Route path='/terran/publish' component={Publish} />
                <Route path='/terran/message' component={Message} />
                <Route path="/terran/atme" component={MessageAtme} />
                <Route path="/terran/follows" component={MessageFollows} />
                <Route path="/terran/likes" component={MessageLikes} />
                <Route path="/terran/comments" component={MessageComments} />
                <Route path="/terran/letters" component={MessageLetters} />
                <Route path='/terran/my' component={MeNotLogin} />
                <Route path='/terran/myAfterLogin' component={MeAfterLogin} />
                <Route path="/terran/login" component={Login} />
                <Route path="/terran/register" component={Register} />
                <Route  exact path="/terran/publishBlog" component={PublishBlogWrapper}/>
                <Route  exact path="/terran/publishArticle" component={PublishArticleWrapper}/>
                <Route  exact path="/terran/publishQues" component={PublishQuesWrapper}/>
                <Route path='/terran/helpCenter' component={HelpCenter} />
                <Route path='/terran/helpCenterAccount' component={HelpCenterAccount} />
                <Route path='/terran/helpCenterTrade' component={HelpCenterTrade} />
                <Route path='/terran/helpCenterProfit' component={HelpCenterProfit} />
                <Route path='/terran/myAsset' component={MyAsset} />
                <Route path='/terran/myAssetDetail' component={MyAssetDetail} />
                <Route path='/terran/myAssetRecord' component={MyAssetRecord} />
                <Route path='/terran/mySimulation' component={MySimulation} />
                <Route path='/terran/mySimulationDetail' component={MySimulationDetail} />
                <Route path='/terran/mySimulationRecord' component={MySimulationRecord} />
                <Route path='/terran/myAccount' component={MyAccount} />
                <Route path='/terran/myAccountPhonenumber' component={MyAccountPhonenumber} />
                <Route path='/terran/myAccountPassword' component={MyAccountPassword} />
                <Route path='/terran/myAccountPaypassword' component={MyAccountPaypassword} />
                <Route path="/terran/remark" component={Remark}></Route>
                <Route path="/terran/fundrank" component={Fund_ranks}/>
                <Route path="/terran/fundschool" component={Fund_school}/>
                <Route path="/terran/fundtheme" component={FundTheme}/>
                <Route path="/terran/fundinfo" component={Fund_info}/>
                <Route path="/terran/fundbuy" component={Fund_buy}/>
                <Route path="/terran/fundsimulationbuy" component={Fund_simulation_buy}/>
                <Route path="/terran/fundbuypay" component={Fund_buy_pay}/>
                <Route path="/terran/fundbuypass" component={Fund_buy_pass}/>
                <Route path="/terran/fundbuyresult" component={Fund_buy_result}/>
                <Route path="/terran/fundschoolsimulationgame" component={Fund_school_simulation_game}/>
                <Route path="/terran/fundschoolreturnchallenge" component={Fund_school_return_challenge}/>
            </div>
        );
    }
}
